/* Header Section */
.header-section {
    background-image: url('../assets/backgrounds/membership-bg.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 400px; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--red); /* Text color set to var(--red) */
    text-align: center;
     margin-top:-10px;
    z-index:-16;
}

/* Centered Heading */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Overlay */
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1; /* Place the overlay behind the text */
}
/* Section Heading */
.section-heading {
    font-family: var(--font-main-heading); /* Font-family set to var(--font-main-heading) */
    font-size: 4rem; /* Adjust font size as needed */
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}


/* Max-width: 2560px */
@media (max-width: 2560px) {
    .header-section {
        height: 500px; /* Adjust height for large screens */
    }

    .section-heading {
        font-size: 7rem; /* Larger font for bigger screens */
    }
}

/* Max-width: 1024px */
@media (max-width: 1024px) {
    .header-section {
        height: 360px; /* Adjust height for tablets and smaller screens */
    }

    .section-heading {
        font-size: 4rem; /* Slightly smaller font for tablets */
    }
}

/* Max-width: 768px */
@media (max-width: 768px) {
    .header-section {
        height: 300px; /* Adjust height for smaller tablets */
    }

    .section-heading {
        font-size: 4rem; /* Smaller font for tablets */
    }
}

/* Min-width: 425px and max-width: 690px */
@media (min-width: 425px) and (max-width: 690px) {
    .header-section {
        height: 250px; /* Adjust height for smaller devices */
    }

    .section-heading {
        font-size: 2.3rem; /* Font size for small devices */
    }
}

/* Min-width: 315px and max-width: 430px */
@media (min-width: 315px) and (max-width: 430px) {
    .header-section {
        height: 200px; /* Adjust height for smaller screens */
    }

    .section-heading {
        font-size: 2.2rem; /* Font size for very small devices */
    }
}

.membership-section {
    padding: 4rem 2rem;
  }

  .membership-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .membership-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .ampersand {
    color: #d11f2e;
  }

  .membership-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* Responsive Styles */

  @media (max-width: 2560px) {
    .membership-heading {
      font-size: 3rem;
    }
    .membership-text {
      font-size: 1.2rem;
    }
  }

  @media (max-width: 1024px) {
    .membership-heading {
      font-size: 2.5rem;
    }
    .membership-text {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 768px) {
    .membership-heading {
      font-size: 2rem;
    }
    .membership-text {
      font-size: 1rem;
    }
  }

  @media (min-width: 425px) and (max-width: 690px) {
    .membership-heading {
      font-size: 1.8rem;
    }
    .membership-text {
      font-size: 0.95rem;
    }
  }

  @media (min-width: 315px) and (max-width: 430px) {
    .membership-heading {
      font-size: 1.5rem;
    }
    .membership-text {
      font-size: 0.9rem;
    }
  }

  .membership-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px;
            margin-bottom:10vw;
        }

        .heading-2 {
            font-family: var(--font-heading);
            font-size:3rem;
            font-weight: bold;
            margin-top:-5vw;
        }

        .membership-card {
            display: flex;
            align-items: center;
            background-color: #f0f0f0;
            border-radius: 15px;
            padding: 20px;
            margin: 15px;
            max-width: 800px;
            text-align: left;
        }

        .membership-card img {
            max-width: 150px; /* Increased size of the image */
            border-radius: 10px;
            margin-right: 20px;
        }
        
        .membership-card p {
            font-size: 14px; /* Reduced text size */
        }
        
        /* Responsive Font Sizes */
        @media (max-width: 2560px) {
            .membership-heading { font-size: 3rem; }
        }

        @media (max-width: 1024px) {
            .membership-heading { font-size: 2.5rem; }
        }
        
        @media (max-width: 768px) {
            .membership-heading { font-size: 2rem; }
            .membership-card {
                flex-direction: column;
                text-align: center;
            }
            .membership-card img {
                margin-bottom: 15px;
            }
        }
        
        @media (min-width: 425px) and (max-width: 690px) {
            .membership-heading { font-size: 1.8rem; }
        }
        
        @media (min-width: 315px) and (max-width: 430px) {
            .membership-heading { font-size: 1.5rem; }
        }